#最大值和最小值
nums=[10,9,100,80,75,10,3]
'''
nums.sort()
print(nums[0],nums[len(nums)-1])
'''
'''
max = nums[0]
min = nums[0]
for num in nums:
    if max < num :
        max = num
    if min > num :
        min = num
print(max,min)
'''
maxindex = 0
for i in range(0,len(nums)):
    if nums[i] > nums[maxindex]:
        maxindex = i
print(maxindex)
print(nums[maxindex])